#ifndef FLEETCOLONIZEPLANET_HH_
# define FLEETCOLONIZEPLANET_HH_
#include "Network.hh"
#include "GameMessage.hh"

/**
 * <game>
 *  <fleet_colonize_planet>
 *      <fleet>flotta azonosító</fleet>
 *      <star>csillag azonosító</star>
 *      <planet>bolygó azonosító</planet>
 *  </fleet_colonize_planet>
 * </game>
 */
class Network::FleetColonizePlanet: public GameMessage {
    public: static spFleetColonizePlanet construct(QDomElement const& message);

    public: u8 const fleetId;
    public: u8 const starId;
    public: u1 const planetId;

    public: FleetColonizePlanet(u8 fleetId, u8 starId, u1 planetId);
    public: virtual void process_on_server(XmlServerThread& thread);
    public: virtual QDomDocument to_xml() const;
};

#endif // ndef FLEETCOLONIZEPLANET_HH_
